//
//  PickDestinationTableViewCell.m
//  VTravel
//
//  Created by lanouhn on 16/8/2.
//  Copyright © 2016年 xiaoYu. All rights reserved.
//

#import "PickDestinationTableViewCell.h"


@implementation PickDestinationTableViewCell

- (void)setModel:(RootScrollViewModel *)model{
    [self.destinationImageView sd_setImageWithURL:[NSURL URLWithString:model.src]];
     self.nameLabel.text = model.title;
     self.nameLabel.backgroundColor = [UIColor colorWithWhite:1 alpha:0.5];
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
